package com.blb.service.impl;

import com.blb.entity.Logistics;
import com.blb.mapper.LogisticsMapper;
import com.blb.service.ILogisticsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author HuaHao
 * @since 2019-11-16
 */
@Service
public class LogisticsServiceImpl extends ServiceImpl<LogisticsMapper, Logistics> implements ILogisticsService {

    @Resource
    private LogisticsMapper logisticsMapper;

    @Override
    public List<Logistics> findLogistics(String logisticsName) {
        return logisticsMapper.findLogistics(logisticsName);
    }

    @Override
    public void deleteLogistics(String id) {
        logisticsMapper.deleteLogistics(id);
    }

    @Override
    public String findRemarksById(String id) {
        return logisticsMapper.findRemarksById(id);
    }

    @Override
    public void update(Logistics logistics) {
         logisticsMapper.update(logistics);
    }

    @Override
    public Logistics findById(String id) {
        return logisticsMapper.findById(id);
    }


}
